"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var MysqlDb = (function () {
    function MysqlDb() {
    }
    MysqlDb.prototype.add = function (info) {
        console.log(info);
        return true;
    };
    MysqlDb.prototype.update = function (info, id) {
        return true;
    };
    MysqlDb.prototype.delete = function (id) {
        return true;
    };
    MysqlDb.prototype.get = function (id) {
        return [];
    };
    return MysqlDb;
}());
var MsSqlDb = (function () {
    function MsSqlDb() {
    }
    MsSqlDb.prototype.add = function (info) {
        return true;
    };
    MsSqlDb.prototype.update = function (info, id) {
        return true;
    };
    MsSqlDb.prototype.delete = function (id) {
        return true;
    };
    MsSqlDb.prototype.get = function (id) {
        return [];
    };
    return MsSqlDb;
}());
var User = (function () {
    function User() {
    }
    return User;
}());
var u = new User();
u.username = '张三';
u.password = '1234456';
var oMysql = new MysqlDb();
var oMysql = new MysqlDb();
oMysql.add(u);
